package mest.service.cxj;



import mest.Dto.cxj.WorkrouteWorkManytomanyDto;
import mest.entity.workroutework_manytomany;

import java.util.List;

public interface WorkrouteWorkManytomanyService{


    /**
     * 批量保存工艺及其工序的关系
     *
     * @param workrouteWorkManytomany
     * @return
     */
    boolean insertWorkRouteWork(List<workroutework_manytomany> workrouteWorkManytomany,String theirDb);


    /*
     * 查询所有工艺及工序的信息
     * @return
     * @throws Exception
     */
    List<WorkrouteWorkManytomanyDto> selectWorkRouteAndWorkById(Integer wrid,String workName,String theirDb);
}
